package com.atguigu.gmall.pms.service;

import com.atguigu.gmall.pms.vo.AttrVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.gmall.pms.entity.AttrEntity;
import com.atguigu.core.bean.PageVo;
import com.atguigu.core.bean.QueryCondition;


/**
 * 商品属性
 *
 * @author lixianfeng
 * @email tangguangqi@qq.com
 * @date 2020-01-02 20:21:17
 */
public interface AttrService extends IService<AttrEntity> {

    PageVo queryPage(QueryCondition params);

    PageVo queryByCidTypePage(QueryCondition queryCondition, Integer attrType, Long cid);

    void saveAttrVo(AttrVo attr);

    void updateAttrVoById(AttrVo attr);

    AttrVo queryAttrVoByAttrId(Long attrId);
}

